package org.jeecg.modules.demo.yyc.reportsaledaily.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 销售日报
 * @Author: jeecg-boot
 * @Date:   2023-10-10
 * @Version: V1.0
 */
@Data
@TableName("yyc_sale_report_daily")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="yyc_sale_report_daily对象", description="销售日报")
public class YycSaleReportDaily implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**日期*/
	@Excel(name = "日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "日期")
    private Date reportTime;
	/**访客数*/
	@Excel(name = "访客数", width = 15)
    @ApiModelProperty(value = "访客数")
    private Integer visitorCount;
	/**加购人数*/
	@Excel(name = "加购人数", width = 15)
    @ApiModelProperty(value = "加购人数")
    private Integer jiaGouCount;
	/**支付金额*/
	@Excel(name = "支付金额", width = 15)
    @ApiModelProperty(value = "支付金额")
    private Double payedMoney;
	/**支付商品数*/
	@Excel(name = "支付商品数", width = 15)
    @ApiModelProperty(value = "支付商品数")
    private Integer payedGoodCount;
	/**支付用户数*/
	@Excel(name = "支付用户数", width = 15)
    @ApiModelProperty(value = "支付用户数")
    private Integer payedClientCount;
	/**支付子订单数*/
	@Excel(name = "支付子订单数", width = 15)
    @ApiModelProperty(value = "支付子订单数")
    private Integer payedOrderCount;
	/**支付转化率*/
	@Excel(name = "支付转化率", width = 15)
    @ApiModelProperty(value = "支付转化率")
    private Double payedConversionRate;
	/**客单价*/
	@Excel(name = "客单价", width = 15)
    @ApiModelProperty(value = "客单价")
    private Double perCustomerPrice;
	/**页面价*/
	@Excel(name = "页面价", width = 15)
    @ApiModelProperty(value = "页面价")
    private Double priceOnPage;
	/**活动价*/
	@Excel(name = "活动价", width = 15)
    @ApiModelProperty(value = "活动价")
    private Double priceOnActivity;
	/**到手价*/
	@Excel(name = "到手价", width = 15)
    @ApiModelProperty(value = "到手价")
    private Double priceOnPay;
	/**销售链接*/
	@Excel(name = "销售链接", width = 15, dictTable = "yyc_sale_link", dicText = "name", dicCode = "id")
	@Dict(dictTable = "yyc_sale_link", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "销售链接")
    private String saleLinkId;
}
